/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gbbmgmt;


/**
 *
 * @author dchapman
 */
public class Global {
    //Variables to hold database information.
    public static String dbURL = "127.0.0.1";
    public static String dbName = "grimm";
    public static String userName = "chapmand";
    public static String passWord = "g3rmany";
    public static String dbPort = "3306";

    //Variables for storing total numbers of kegs sold.
    public static int numHalfBBL = 0;
    public static int numQtrBBL = 0;
    public static int numSixBBL = 0;
    public static int num22Oz = 0;
    public static int num12Oz = 0;
    public static int num750ml = 0;

    //Variables for tax information.
    public static double TTBTax = 7;
    public static double COTax = 0.08;

    //Variables to hold bottles per case.
    public static int TwentyTwoCase = 12;
    public static int TwelveCase = 24;
    public static int SevenFiftyCase = 12;

    //Variables to convert bottles to barrels
    public static double TTtoBBL = 0.00554435484;
    public static double TWtoBBL = 0.00302419355;
    public static double SFtoBBL = 0.00639125933;

    //Variables used for printing operations.
    public static String PrintSalesOrderID = "0";
    public static String PrintRecipeID = "0";

    //Variables to store user information.
    public static boolean isLoggedIn = false;
    public static int userLevel = 10;
    public static int userID = 0;

    //Variables to store system size.
    public static double SysSize = 11;

    //Variables used to manage user permissions.
    public static boolean userPur = false;
    public static boolean userAdmin = false;

    //Variable used to manage pO refresh rate.
    public static boolean updateTable = false;

    //DB Globals
    public static int lastInsertID = 0;

}
